Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAFKA-12747: Fix flaky test RocksDBStoreTest.shouldReturnUUIDsWithStr… #10662

Closed

Conversation

jlprat
Copy link
Contributor

@jlprat jlprat commented May 10, 2021

…ingPrefix

Fixes the test by checking if there is a prefix collision.
Following comment on JIRA ticket, in case of prefix clash, we check that the returned value can be either of both (a or b).

Alternatively, we could re-generate the second UUID in case of prefix
clash until they are clash-free.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

…ingPrefix

Fixes the test by checking if there is a prefix collision.
In a collision case, assert statements are adapted to check
for both values.

Alternatively, we could re-generate the second UUID in case of prefix
clash until they are clash-free.
@jlprat
Copy link
Contributor Author

jlprat commented May 10, 2021

Now I see another PR was already there: #10643

@jlprat jlprat closed this May 10, 2021
@guozhangwang
Copy link
Contributor

Hey @jlprat sorry I was not aware you're also working on this ticket..

@jlprat
Copy link
Contributor Author

jlprat commented May 10, 2021

The other way around, I haven't seen your PR, you were first 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants